/*
 *  PreferencesWindow.h
 *  xGPS
 *
 *  Created by Miguel Arroz on 10/06/28.
 *  Copyright Miguel Arroz. All rights reserved.
 *
 */

#ifndef __PREFERENCES_WINDOW_H
#define __PREFERENCES_WINDOW_H

#include "xGPS.h"

int windowCallback(XPWidgetMessage inMessage, XPWidgetID inWidget, long inParam1, long inParam2);
void showPreferencesWindow();
void destroyPreferencesWindow();
int cancelButtonCallback(XPWidgetMessage inMessage, XPWidgetID inWidget, long inParam1, long inParam2);
int saveButtonCallback(XPWidgetMessage inMessage, XPWidgetID inWidget, long inParam1, long inParam2);
void updateWindowWithValues( void );
void saveValuesFromWindow( void );
//int portFieldCallback(XPWidgetMessage inMessage, XPWidgetID inWidget, long inParam1, long inParam2);
int hostFieldCallback(XPWidgetMessage inMessage, XPWidgetID inWidget, long inParam1, long inParam2);

#endif